package com.ruoyi.schedule.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 日程信息管理对象 programme
 * 
 * @author ruoyi
 * @date 2023-03-07
 */
public class Programme extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Integer proId;

    /** 日程内容 */
    @Excel(name = "日程内容")
    private String content;

    /** 日程状态(0,已完成,1,未完成,2进行中) */
    @Excel(name = "日程状态(0,已完成,1,未完成,2进行中)")
    private String status;

    /** 日程进行时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日程进行时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date proTime;

    /** 员工编号 */
    @Excel(name = "员工编号")
    private Integer empId;
    /** 员工名称 */
    @Excel(name = "员工名称")
    private String empName;

    /** msg */
//    @Excel(name = "msg")
    private String isBlack;

    public String getIsBlack() {
        return isBlack;
    }

    public void setIsBlack(String isBlack) {
        this.isBlack = isBlack;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    /** 日程类型(0,公事,1,私事,2,其他) */
    @Excel(name = "日程类型(0,公事,1,私事,2,其他)")
    private Integer progTypeId;

    /** 版本号 */
    private Integer version;

    /** 截至时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date deadline;
    /*截至时间最大值*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date effectiveTimeMax;
    /*截至时间最小值*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date effectiveTimeMin;

    public Date getEffectiveTimeMax() {
        return effectiveTimeMax;
    }

    public void setEffectiveTimeMax(Date effectiveTimeMax) {
        this.effectiveTimeMax = effectiveTimeMax;
    }

    public Date getEffectiveTimeMin() {
        return effectiveTimeMin;
    }

    public void setEffectiveTimeMin(Date effectiveTimeMin) {
        this.effectiveTimeMin = effectiveTimeMin;
    }

    public void setProId(Integer proId)
    {
        this.proId = proId;
    }

    public Integer getProId() 
    {
        return proId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setProTime(Date proTime) 
    {
        this.proTime = proTime;
    }

    public Date getProTime() 
    {
        return proTime;
    }
    public void setEmpId(Integer empId) 
    {
        this.empId = empId;
    }

    public Integer getEmpId() 
    {
        return empId;
    }
    public void setProgTypeId(Integer progTypeId) 
    {
        this.progTypeId = progTypeId;
    }

    public Integer getProgTypeId() 
    {
        return progTypeId;
    }
    public void setVersion(Integer version) 
    {
        this.version = version;
    }

    public Integer getVersion() 
    {
        return version;
    }
    public void setDeadline(Date deadline) 
    {
        this.deadline = deadline;
    }

    public Date getDeadline() 
    {
        return deadline;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("proId", getProId())
            .append("content", getContent())
            .append("status", getStatus())
            .append("proTime", getProTime())
            .append("empId", getEmpId())
            .append("progTypeId", getProgTypeId())
            .append("createTime", getCreateTime())
                .append("isBlack", getIsBlack())
            .append("updateTime", getUpdateTime())
            .append("version", getVersion())
            .append("deadline", getDeadline())
            .toString();
    }
}
